package cn.deepmax.spring.cloud.system.user.service;

import cn.deepmax.spring.cloud.system.user.entity.User;

import java.util.Optional;

public interface UserService {


    Optional<User> findUser(Long id);


    Boolean login(String name, String password);


    Boolean addUser(String name, String password);
}
